package com.dao;

import com.bean.Dept;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

public interface DeptMapper {
    int insertDept(Dept dept);
    int deleteDept(@Param("id") int id);
    int updateDept(Dept dept);
    List<Dept> getAllDept(Map map);
}
